import { Boolean, PrimaryUuid, CreateDate, Desc, Entity, Link, MemberId, SysUserId, Text, Title, UpdateDate } from "@sker/core";


@Entity({ name: 'agent' })
export class Agent {
    @PrimaryUuid()
    id: string;

    @Title({ comment: '代理名' })
    title: string;

    @Desc({ comment: '简介' })
    desc: string;

    @Boolean({ comment: '状态' })
    status: boolean;

    @Text({ comment: '绑定域名' })
    domains: string;

    @SysUserId()
    user_id: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}